﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>登陆-@ViewBag.Title</title>
    <!-- Bootstrap core CSS -->
    <link href="~/Content/bootstrap.min.css" rel="stylesheet">
    <link href="~/Content/Site.css" rel="stylesheet">
    <link href="~/Content/login.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <form class="f-login" role="form" data-bind="submit:loginClick">
            @*<div class="form-logo"><img src="/Content/images/login/logo.png" alt="" /></div>*@
            <h3 class="f-login-heading">请输入您的帐号和密码</h3>
            <div id="message-div" style="max-width:280px" data-bind="html:message"></div>
            <div class="f-login-group">
                <div class="input-icon left">
                    <i class="glyphicon glyphicon-user"></i>
                    <input type="text" class="form-control" placeholder="用户名" required autofocus data-bind="value:form.usercode">
                </div>
            </div>
            <div class="f-login-group">
                <div class="input-icon left">
                    <i class="glyphicon glyphicon-lock"></i>
                    <input type="password" class="form-control" placeholder="密码" required data-bind="value:form.password">
                </div>
            </div>            
            <button class="btn btn-lg btn-primary btn-block" type="submit">登陆</button>                
        </form>
    </div>
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/knockout")
    <!--[if lt IE 9]>
        <script src="~/Scripts/respond.min.js"></script>
        <![endif]-->
    <script src="~/Scripts/viewmodels/login.js"></script>
</body>
</html>
